﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yunwei.Domain.Models;

namespace Yunwei.IBizLogic
{
    public interface ICategoryService : IBaseService<Category>
    {
        IQueryable<Category> FindList(int number, string name, int restaurant_Id, int orderCode);

        IQueryable<Category> FindPageList(out int totalRecord, int pageIndex, int pageSize, string name, int restaurant_Id, int orderCode);

        IQueryable<Category> Order(IQueryable<Category> entitys, int orderCode);
    }
}
